<table>
	<thead>
		<tr>
			<g:sortableColumn property="id" title="Id" titleKey="shareRole.id" />
			<th><g:message code="shareRole.user" default="User" /></th>
			<th><g:message code="shareRole.group" default="Group" /></th>
			<g:sortableColumn property="domain" title="Domain" titleKey="shareRole.domain" />
			<g:sortableColumn property="read" title="Read" titleKey="shareRole.read" />
			<g:sortableColumn property="edit" title="Edit" titleKey="shareRole.edit" />
			<g:sortableColumn property="delete" title="Delete" titleKey="shareRole.delete" />
		</tr>
	</thead>
	<tbody>
		<g:each in="${shareRoleInstanceList}" status="i" var="shareRoleInstance">
			<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
				<td><g:link action="show" id="${shareRoleInstance.id}">${fieldValue(bean: shareRoleInstance, field: "id")}</g:link></td>
				<td>${fieldValue(bean: shareRoleInstance, field: "user")}</td>
				<td>${fieldValue(bean: shareRoleInstance, field: "group")}</td>
				<td>${fieldValue(bean: shareRoleInstance, field: "domain")}</td>
				<td><g:formatBoolean boolean="${shareRoleInstance.read}" /></td>
				<td><g:formatBoolean boolean="${shareRoleInstance.edit}" /></td>
				<td><g:formatBoolean boolean="${shareRoleInstance.delete}" /></td>
			</tr>
		</g:each>
	</tbody>
</table>